package com.ll.gulimall.product.feign;

import com.ll.common.to.SkuMemberTo;
import com.ll.common.to.SpuBoundTo;
import com.ll.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

@FeignClient("gulimall-coupon")
public interface CouponFeignService {

    @PostMapping("/coupon/spubounds/save")
    public R save(@RequestBody SpuBoundTo spuBoundTo);


    //保存Sku优惠满减信息
    @PostMapping("/coupon/skuladder/saveSkuMember")
    public R saveSkuMember(@RequestBody SkuMemberTo skuMemberTo);
}
